//
//  FriendGroup.h
//  QQ好友列表1
//
//  Created by lanou3g on 15/11/19.
//  Copyright © 2015年 lanou3g. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface FriendGroup : NSObject

// 分组名称
@property (nonatomic, copy) NSString *name;

/**
 *  标识这组是否需要展开,  YES : 展开 ,  NO : 关闭
 */
@property (nonatomic, assign, getter = isOpened) BOOL opened;
/**
 *  数组中装的都是Friend模型
 */
@property (nonatomic, strong) NSArray *friends;
@property (nonatomic, assign) int online;

+ (instancetype)groupWithDict:(NSDictionary *)dict;
- (instancetype)initWithDict:(NSDictionary *)dict;

@end
